// 判断用户是否处于登录状态

export const judgeLogin = () => {
  if (!wx.getStorageSync('sessionID')) {
    uni.showToast({
      title: '请先登录!',
      icon: 'none',
      duration: 2000
    });
    return false;
  }
  return true;
}